import {Base} from "../../utils/base.js";
class Theme extends Base{
   constructor(){
      super();
   }
   getProductsData(id, callback){
      var params = {
         url: "theme/" + id,
         scallback:function(res){
            callback&&callback(res);
         }
      }
      this.request(params);
   }
   getDataSet(event, key){
      return event.currentTarget.dataset[key];
   }
}
export {Theme}